package com.nono.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class GetMethod {
	@RequestMapping(value="cart", method=RequestMethod.GET)
	public ModelAndView cart() {
		return new ModelAndView("cart");
	}

	@RequestMapping(value="detail", method=RequestMethod.GET)
	public ModelAndView detail() {
		return new ModelAndView("detail");
	}

	@RequestMapping(value="index", method=RequestMethod.GET)
	public ModelAndView index() {
		return new ModelAndView("index");
	}

	@RequestMapping(value="list", method=RequestMethod.GET)
	public ModelAndView list() {
		return new ModelAndView("list");
	}

	@RequestMapping(value="login", method=RequestMethod.GET)
	public ModelAndView login() {
		return new ModelAndView("login");
	}
	
	@RequestMapping(value="user", method=RequestMethod.GET)
	public ModelAndView user() {
		return new ModelAndView("user");
	}
	
	@RequestMapping(value="admin/admin", method=RequestMethod.GET)
	public ModelAndView admin() {
		return new ModelAndView("admin");
	}
}
